
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<script charset="utf-8" th:src="@{/js1/jquery.min.js}" ></script>
<script charset="utf-8" th:src="@{/js1/global.js}" ></script>
<script charset="utf-8" th:src="@{/js1/bootstrap.min.js}" ></script>
<script charset="utf-8" th:src="@{/js1/template.js}" ></script>

	<link rel="stylesheet" th:href="@{/css1/common.css}" >
<link rel="stylesheet" th:href="@{/css1/bootstrap.css}" >
<link rel="stylesheet" th:href="@{/css1/style.css}" >
<link rel="stylesheet" th:href="@{/css1/member.css}" >
<link rel="stylesheet" th:href="@{/css1/order3.css}" ><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="telephone=no" name="format-detection">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1;user-scalable=no;">
<script charset="utf-8" th:src="@{/js1/shopCart.js}"></script>
<title>购物车</title>
</head>
<body>
<div class="fanhui_cou">
	<div class="fanhui_1"></div>
	<div class="fanhui_ding">顶部</div>
</div> <header class="header header_1">
    <div class="fix_nav">
        <div class="nav_inner">
            <a class="nav-left back-icon" href="javascript:history.back();">返回</a>
            <div class="tit">购物车</div>
        </div>
    </div>
</header>
<div class="container ">
    <div class="row rowcar" id="shopcartid">
		<input type="hidden" id="userid" th:value="${userid}">
        <ul class="list-group" th:each="entries,stat:${Shopcart}">
		            <li class="list-group-item text-primary">
		            <div class="icheck pull-left mr5">
		                           <input type="checkbox" checked="checked" class="ids" prodStatus="1" th:attr="itemkey=${entries.id}"/>
                                       <label class="checkLabel">
		                       <span></span>
                               </label>
		            </div>
		            	茅台镇酒</li>
		            <li class="list-group-item hproduct clearfix">
			                <div class="p-pic"><a href="/views/663"><img class="img-responsive"  th:src="${entries.product.image}" ></a></div>
			                <div class="p-info">
			                    <a href="/views/663"><p class="p-title"  th:text="${entries.product.title}" ></p></a>
		                    	<p class="p-origin">
			                    	<a class="close p-close" th:onclick="@{'deleteShopCart('+${entries.id}+')'}" href="javascript:void(0);">×</a>
			                        <em class="price" th:text="${entries.product.shopPrice}"></em>
			                    </p>
			                </div>
		            </li>
		            <li class="list-group-item clearfix">
		                <div class="pull-left mt5">
		                	<span class="gary">小计：</span>
		                	<em class="red productTotalPrice" th:text="${entries.subTotal*entries.count}"></em>
		                </div>
						<div class="btn-group btn-group-sm control-num">
		                    <a onclick="disDe(this)" href="javascript:void(0);" class="btn btn-default"><span class="glyphicon glyphicon-minus gary"></span></a>
		                    <input type="tel" class="btn gary2 Amount" readonly="readonly" th:name="${entries.id}"  th:value="${entries.count}"  maxlength="4" itemkey="" prodId="663" skuId="1358">
		                    <a onclick="increase(this)" href="javascript:void(0);" class="btn btn-default"><span class="glyphicon glyphicon-plus gary"></span></a>
		                </div>
					</li>
					</ul>
		       </div>
</div>
<div class="fixed-foot">
<div class="fixed_inner">
    <div class="pay-point">
        <div class="icheck pull-left mr10">
            <input type="checkbox" checked="checked" id="buy-sele-all" value="1">
            <label for="buy-sele-all">
                <span class="mt10"></span>全选
            </label>
        </div>
         <p>合计：<em class="red f22">¥<span id="totalPrice">179.00</span></em></p>
    </div>
    <div class="buy-btn-fix">
        <a href="javascript:submitShopCart();" class="btn btn-danger btn-buy">去结算</a>
    </div>
</div>
</div>
<div class="clear"></div>

<footer class="footer">
  <div class="foot-con">
	<div class="foot-con_2">
		<a href="/mall/mallindex.html">
			<i class="navIcon home"></i>
			<span class="text">首页</span>
		</a>
		<a href="/mall/category.html">
			<i class="navIcon sort"></i>
			<span class="text">分类</span>
		</a>
		<a href="/mall/newOrder/shopcart.html">
			<i class="navIcon shop"></i>
			<span class="text">购物车</span>		
		</a>
		<a href="/mall/userhome.html">
			<i class="navIcon member"></i>
			<span class="text">我的</span>
		</a>
	</div>
  </div>

	<div id="dialogBg"></div>
	<div id="dialog" class="animated">
		<img class="dialogIco" width="50" height="50" th:src="@{/img/ico.png}" alt="" />
		<div class="dialogTop">
			<a href="javascript:;" class="claseDialogBtn">关闭</a>
		</div>
		<form action="" method="post" id="editForm">
			<ul class="editInfos" id="adressinfo">
			</ul>
		</form>
	</div>
</footer><script type="text/javascript">
var contextPath = '';
</script>
</body></html>
<SCRIPT Language=VBScript><!--

//--></SCRIPT>